main:test.cc ../source/fiber.cc ../source/scheduler.cc ../source/util.cc ../source/hook.cc ../source/thread.cc ../source/fd_manager.cc ../source/timer.cc ../source/iomanager.cc ../source/mutex.cc 
	g++ -o $@ $^ -std=c++11 -lpthread -ldl

.PHONY:clean
clean:
	rm -rf main